package utils;

import java.util.ArrayList;

public class MyArrayList<T> extends ArrayList<T> {

	public boolean add(T elem){
			if (!this.contains(elem)) return super.add(elem);
			System.out.println(elem); 
			return false; 
	}
}
